package com.comsoftstar.nt5s.deviceManager.http;



import com.hzc.nt5s.deviceManager.bean.User;

import java.util.List;
import java.util.Map;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

/**
 * Created by Administrator on 2016/5/9 0009.
 */
public interface HttpService {


    //登录
    @GET("Login/validate")
    Call<User> login(@QueryMap Map<String, String> params);

    //获取用户
    @GET("Operate/alluser")
    Call<List<User>> getUser();



}
